package com.sxhalo.fsms.mapper;


import com.sxhalo.fsms.domain.SysAttachments;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysAttachmentsMapper {
    int deleteByPrimaryKey(String attachCode);

    int insert(SysAttachments record);

    int insertSelective(SysAttachments record);

    SysAttachments selectByPrimaryKey(String attachCode);

    int updateByPrimaryKeySelective(SysAttachments record);

    int updateByPrimaryKey(SysAttachments record);
    
    int getCount(@Param("where")String where);

    List<SysAttachments> findWhereList(@Param("where")String where, @Param("order")String order);

    List<SysAttachments> findPagerList(@Param("start")Integer start, @Param("length")Integer length, @Param("where")String where, @Param("order")String order);

}